package com.cold.system.domain.vo;

import com.cold.system.domain.TbWareHouses;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.cold.common.excel.annotation.ExcelDictFormat;
import com.cold.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 仓库信息视图对象 tb_ware_houses
 *
 * @author 鄧滔滔
 * @date 2024-10-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TbWareHouses.class)
public class TbWareHousesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 仓库名称
     */
    @ExcelProperty(value = "仓库名称")
    private String warehouseName;

    /**
     * 仓库地址
     */
    @ExcelProperty(value = "仓库地址")
    private String warehouseAddress;

    /**
     * 联系人
     */
    @ExcelProperty(value = "联系人")
    private String contactPerson;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String contactPhone;

    /**
     * 状态 (0: 停用, 1: 活跃)
     */
    @ExcelProperty(value = "状态 (0: 停用, 1: 活跃)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "ware_status")
    private Long status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
